package com.gy.yemall.yemallproduct.feign;

import com.gy.common.to.SkuHasStock;
import com.gy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("yemall-ware")
public interface WareSkuFeignService {
    @PostMapping("/yemallware/waresku/hasstock")
    R getSkusHasStock(@RequestBody List<Long> skuIds);
}
